// localhost:8883/finance/selectById/105
import request from '@/utils/request'
//融资预览


//根据id查询融资信息
/**
 * 
 * @param {*} financeId 
 * @returns 
 */
export const useRongziyulanFind=(financeId)=>{


    return request(
        {
            url:'/finance/selectById/'+financeId,
            method:'get',
        }
    )
}

// localhost:8883/finance/selectByBankId/1003/1/2
// 分页查询融资信息

export const useRongziyulanPage=(pageNum,pageSize)=>{
    return request({
        url:'/finance/selectByBankId/'+pageNum+'/'+pageSize,
        method:'get',
    })
}


//修改融资详情localhost:8883/finance/update
export const updateRongzixiangqing=(params)=>{
    return request({
        url:'/finance/update',
        method:'put',
        data:params
    })
}